Special DivePort Parameters for Measure Factories

When dive scripts run in DivePort, QuickViews are automatically connected to parameters in the dive.

Prior to DivePort 7.0(20), this connection does not work for the Measure Factory-specific QuickViews (Current Date, Calendar, Detail, and Time Range).

Starting with version 7.1(20), DivePort passes an __mf_current_date parameter to Spectre Dive and cPlan scripts opened in Chart, Measures, and some Map Portlets.

The parameter is only passed after a factory-related click action is performed, (for example, an Analysis or CrossLink click action on a factory-backed portlet), even if there is a current date QuickView on the target page. This corresponds to the time that it passes the __mf_measure parameter with the name of the last selected measure. Both parameters are triggered at the same time. Before that time, no value is passed for the parameter so the cPlan or Dive uses its default value (or error if there is none).

However, once the __mf_current_date parameter is passed, changing the Current Date QuickView on the target page updates the parameter value.

The parameter is always a complete date (even if the Current Date QuickView is rolled up to months), and is always passed in the default date format YYYY/MM/DD.

These parameters can be used in Spectre Dives and cPlans in external projects. The external project must have an alias into the Measure Factory project.